function startRequest()
{
  var url = "http://localhost/dane.php?wartosc=test";
  url = encodeURI(url);
  startGETRequest(url, onComplete, onEnd);
}

function onComplete(responseText, responseXML)
{
  var div = document.getElementById("dataDiv");
  div.innerHTML = responseText;
}

function onEnd()
{
}
